package com.sand.util;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate4.support.HibernateDaoSupport;

public class BaseDao extends HibernateDaoSupport{
	@Autowired
	public SessionFactory sessionFactory;
	
	@Autowired
	 public void setSessionFactoryOverride(SessionFactory sessionFactory)
   {   
     super.setSessionFactory(sessionFactory);   
   } 
}
